package org.example.mytest.newMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.mytest.entity.Score;
import org.example.mytest.newentity.companies;
import org.example.mytest.newentity.employees;

import java.util.List;

@Mapper
public interface CompaniesMapper extends BaseMapper<companies> {
    @Select("select * from companies where ManagerID=#{managerid}")
    List<companies> findscoreby(int id);
}
